package com.lft01.thread;

/**
 * Function: 		ADD FUNCTION.
 * Reason:   		ADD REASON.
 * Date             2020/6/6 15:13
 * <p>
 * Class Name:      PrintNumLetter
 * Package Name:    com.lft.thread
 *
 * @author Laifengting
 * @version 1.0.0
 * @since JDK 8
 */
public class PrintNumLetterTest {
	public static void main(String[] args) {
		PrintNumLetter printNumLetter = new PrintNumLetter();
		new Thread(() -> {
			for (int i = 0; i < 26; i++) {
				printNumLetter.printNum();
			}
		}).start();
		new Thread(() -> {
			for (int i = 0; i < 26; i++) {
				printNumLetter.printLetter();
			}
		}).start();
	}
}
